package com.SmartCampus.system.mapper;

import com.SmartCampus.system.model.dto.lostAndFound.LostAndFoundQueryRequest;
import com.SmartCampus.system.model.entity.Lostandfound;
import com.SmartCampus.system.model.vo.LostandfoundVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
* @author wangliang
* @description 针对表【lostAndFound(失物招领表)】的数据库操作Mapper
* @createDate 2024-12-26 18:54:38
* @Entity generator.domain.Lostandfound
*/
public interface LostandfoundMapper extends BaseMapper<Lostandfound> {

    List<LostandfoundVO> getLostByAll(Page<LostandfoundVO> page, LostAndFoundQueryRequest lostAndFoundQueryRequest);

    List<LostandfoundVO> getLostByMy(Page<LostandfoundVO> page, LostAndFoundQueryRequest lostAndFoundQueryRequest, Long userId);
}




